import {ArticleList} from '@/utils/articleList';

const MenuOptions = [
  {
    value: 'home',
    label: '首页',
    children: null
  },
  {
    value: 'demo',
    label: '演示项目',
    children: [
      {
        value: 'http://xudong.ink:8010/',
        label: '身份证号生成',
        children: null
      },
      {
        value: 'writeWord',
        label: '打字测试',
        children: null
      },
      {
        value: 'timeBlock',
        label: '液晶时钟',
        children: null
      },
      {
        value: 'elTree',
        label: '树形展开',
        children: null
      }
    ]
  },
  {
    value: 'article',
    label: '文章',
    children: [
      {
        value: ArticleList.updateElementStyle,
        label: '修改element组件样式',
        children: null
      },
      {
        value: ArticleList.getDateFormat,
        label: '日期格式转换',
        children: null
      },
      {
        value: ArticleList.proxyByWeb,
        label: '前端跨域配置',
        children: null
      },
      {
        value: ArticleList.problemOccurByFixed,
        label: '因固定定位引起的问题详解',
        children: null
      },
      {
        value: ArticleList.downloadQrcode,
        label: '批量生成并下载二维码',
        children: null
      },
      {
        value: ArticleList.vshowAndValidate,
        label: 'v-show和表单验证产生的化学反应',
        children: null
      },
      {
        value: ArticleList.serverEnvironment,
        label: '服务器环境搭建',
        children: null
      },
      {
        value: ArticleList.pcBottomRebound,
        label: 'PC实现下拉加载数据',
        children: null
      },
      {
        value: ArticleList.getPositionsByGps,
        label: '批量逆解析地址-百度地图API',
        children: null
      },
      {
        value: ArticleList.informalEssay_Extends,
        label: '前端随笔-类的继承',
        children: null
      },
      {
        value: ArticleList.informalEssay_Vue1,
        label: 'Vue二次精度随笔（一）',
        children: null
      },
      {
        value: ArticleList.informalEssay_Vue2,
        label: 'Vue二次精度随笔（二）',
        children: null
      },
    ]
  }
]
export default MenuOptions
